home *** CD-ROM | disk | FTP | other *** search
- Path: news.compulink.com!not-for-mail
- Newsgroups: comp.lang.c++,comp.os.ms-windows.programmer.win32
- From: jfischer@idirect.com (Jonathan Fischer)
- Subject: Re: VC++ 4.0 memory allocation slower than in 2.x!!!
- Message-ID: <Edda1996Mar31.223125.15938@news.compulink.com>
- Date: 1 Apr 96 03:31:25 GMT
- References: <alanDozpsy.Kn6@netcom.com>
- X-Newsreader: Forte Free Agent 1.0.82
- X-Nntp-Posting-Host: doom.idirect.com
-
- alan@netcom.com (Robert Alan Wright) wrote:
-
- >Upon further profiling and other exploration, I found out the problem:
- >THE VC++ 4.0 MEMORY ALLOCATION ROUTINES ARE WAY SLOWER!!!
-
- >I don't understand how this can be, but I switched from using the
- >Microsoft malloc/realloc routines to my own versions, and now I
- >get about the same performance from the app that I used to.
- >As best I can tell, the new realloc routine is about 10 TIMES SLOWER
- >...
-
- Were you comparing the release version or the debug version of the
- library? Their debug code does an awful lot of (quite useful) runtime
- debugging, such as boundary checking in the malloc code.
-
- --
- Jonathan Fischer Toronto, Ontario, Canada
- jfischer@idirect.com
-
-